Skip to content

chore(deps): update dependency @rwdocs/viewer to v0.1.28#68

Merged
yumike merged 1 commit into
mainfrom
renovate/rwdocs-viewer-0.x-lockfile
Jun 24, 2026
Merged

chore(deps): update dependency @rwdocs/viewer to v0.1.28#68
yumike merged 1 commit into
mainfrom
renovate/rwdocs-viewer-0.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@rwdocs/viewer 0.1.270.1.28 age confidence

Release Notes

rwdocs/rw (@​rwdocs/viewer)

v0.1.28

Compare Source

Added
  • @rwdocs/core exposes RwSite.listSections(), which returns every documentation section in one call — flat, each with its canonical ref (kind:namespace/name), scope path, and full nearest-first ancestry (root last) — so a host no longer needs N+1 getNavigation() calls to walk nested sections (which deliberately hide sub-sections as childless leaves).
  • @rwdocs/core exposes RwSite.listPages(), which enumerates every page in a site in one pass — each with its title and its (sectionRef, subpath) key (the same pair comments use as a page's document_id) — so a host can cache human-readable page titles (e.g. for a comment inbox) without an N+1 of per-page renderPage() calls. The site's root page and virtual directory pages are included.
Changed
  • Opening an inline-comment deep link (#comment-<id>), or stepping to an inline comment with n/p, now lands the highlighted passage about a third of the way down the viewport instead of dead-center — so the passage sits where the eye rests on arrival, with room above for the comment thread.
Fixed
  • Relative .md links from a leaf page (e.g. [sibling](./other.md) in docs/specs/notif.md) now resolve to the sibling page (/specs/other) instead of a non-existent path nested under the current page (/specs/notif/other). Links now follow standard CommonMark semantics — resolved relative to the source file's directory — for both leaf pages and index.md directory pages. Links from README/index.md homepages (including the docs/ source-dir prefix case) are unchanged.
  • Opening an inline-comment deep link (#comment-<id>) no longer leaves the comment thread pinned in the wrong vertical position. The thread in the right-margin column (and the narrow-screen comment popover) could land hundreds of pixels above its highlighted passage and stay there when content above the passage reflowed after the thread was positioned — e.g. a web-font swap on first load, or a late-loading image or diagram. Threads now re-align whenever their highlighted passage moves, not only when the article is resized, so they track the highlight through any late layout shift. A normal click was never affected (it happens after the page has settled).
  • The "Add comment" popover now appears when you select a line's first word by dragging right-to-left and release the mouse to the left of the article — and likewise for any text selection released outside the article body (past its right edge or below it). Previously the popover only showed when the mouse was released inside the article, so a right-to-left first-word selection silently produced nothing.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update dependency @rwdocs/viewer to v0.1.26 chore(deps): update dependency @rwdocs/viewer to v0.1.27 Jun 22, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @rwdocs/viewer to v0.1.27 chore(deps): update dependency @rwdocs/viewer to v0.1.27 - autoclosed Jun 22, 2026
@renovate renovate Bot closed this Jun 22, 2026
@renovate renovate Bot deleted the renovate/rwdocs-viewer-0.x-lockfile branch June 22, 2026 12:58
@renovate renovate Bot changed the title chore(deps): update dependency @rwdocs/viewer to v0.1.27 - autoclosed chore(deps): update dependency @rwdocs/viewer to v0.1.28 Jun 24, 2026
@renovate renovate Bot reopened this Jun 24, 2026
@renovate renovate Bot force-pushed the renovate/rwdocs-viewer-0.x-lockfile branch 2 times, most recently from 0cdbecd to 1fecab5 Compare June 24, 2026 09:11
@yumike yumike merged commit 6b5c85f into main Jun 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant